home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / apps.to.go / DTS.Lib / DTS.Lib.headers / Init.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-11  |  1.1 KB  |  40 lines  |  [TEXT/MPS ]

  1. #ifndef __INIT__
  2. #define __INIT__
  3.  
  4. #ifndef __TYPES__
  5. #include <Types.h>
  6. #endif
  7.  
  8.  
  9.  
  10. void            Initialize(short moreMasters, long minHeap, long minSpace,
  11.                            ProcPtr init1, ProcPtr init2);
  12.     /*
  13.     **    ¶ AppsToGo toolbox/application initialization.
  14.     **
  15.     **    INPUT:    moreMasters
  16.     **            minHeap
  17.     **            minSpace
  18.     **            init1
  19.     **            init2
  20.     **
  21.     **    Given minHeap and minSpace values, get stuff going.  Also, we are passed in two procedure
  22.     **    pointers.  If these are not nil, they are called at intermediate points during the
  23.     **    initialization process.  The first proc is called after the Utilities.c standard
  24.     **    initialization is complete.  The second proc is called very near the end of the
  25.     **    initialization, but just prior to the menus being initialized. */
  26.  
  27.  
  28.  
  29. void            StartDocuments(void);
  30.     /*
  31.     **    ¶ Pre-system 7 finder file management.
  32.     **
  33.     **    This function handles the documents selected in the finder, either for loading or for
  34.     **    printing.  This is only if we don’t have AppleEvents.  If we have AppleEvents, then this
  35.     **    will all be done automatically via those wonderful AppleEvent thingies. */
  36.  
  37.  
  38.  
  39. #endif
  40.